{"version":3,"sources":["collapse.js"],"names":["global","factory","exports","module","require","define","amd","self","Collapse","jQuery","Util","this","$","hasOwnProperty","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","Constructor","protoProps","staticProps","prototype","_defineProperty","obj","value","_objectSpread","arguments","source","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","forEach","NAME","VERSION","DATA_KEY","EVENT_KEY","DATA_API_KEY","JQUERY_NO_CONFLICT","fn","Default","toggle","parent","DefaultType","Event","SHOW","SHOWN","HIDE","HIDDEN","CLICK_DATA_API","ClassName","COLLAPSE","COLLAPSING","COLLAPSED","Dimension","WIDTH","HEIGHT","Selector","ACTIVES","DATA_TOGGLE","element","config","_isTransitioning","_element","_config","_getConfig","_triggerArray","slice","call","document","querySelectorAll","id","toggleList","len","elem","selector","getSelectorFromElement","filterElement","foundElem","_selector","push","_parent","_getParent","_addAriaAndCollapsedClass","_proto","hasClass","hide","show","_this","actives","activesData","getAttribute","classList","contains","not","data","startEvent","trigger","isDefaultPrevented","_jQueryInterface","dimension","_getDimension","removeClass","addClass","style","attr","setTransitioning","complete","capitalizedDimension","toUpperCase","scrollSize","transitionDuration","getTransitionDurationFromElement","one","TRANSITION_END","emulateTransitionEnd","_this2","getBoundingClientRect","reflow","triggerArrayLength","$elem","isTransitioning","dispose","removeData","Boolean","typeCheckConfig","hasWidth","_this3","isElement","jquery","querySelector","children","each","_getTargetFromElement","triggerArray","isOpen","toggleClass","$this","test","TypeError","get","on","event","currentTarget","tagName","preventDefault","$trigger","selectors","$target","noConflict"],"mappings":"CAKC,SAAUA,EAAQC,UACVC,UAAY,iBAAmBC,SAAW,YAAcA,OAAOD,QAAUD,EAAQG,QAAQ,UAAWA,QAAQ,qBAC5GC,SAAW,YAAcA,OAAOC,IAAMD,QAAQ,SAAU,aAAcJ,IAC5ED,EAASA,GAAUO,KAAMP,EAAOQ,SAAWP,EAAQD,EAAOS,OAAQT,EAAOU,Q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